//
//  UILabel+Extension.swift
//  微博Swift
//
//  Created by  justinchou on 16/2/26.
//  Copyright © 2016年  justinchou. All rights reserved.
//

import UIKit

extension UILabel {
    
    convenience init(title: String, color: UIColor = UIColor.darkGrayColor(), fontSize: CGFloat = 14) {
        self.init()
        
        text = title
        textColor = color
        textAlignment = .Center
        numberOfLines = 0
        font = UIFont.systemFontOfSize(fontSize)
        
        sizeToFit()
    }
}
